Skip to content

fix(security): harden .gitignore against IDE task auto-execution and hidden binary droppers - #429

Open
Surya-5555 wants to merge 1 commit into
ServiceNow:mainfrom
Surya-5555:fix/security-task-hardening
Open

Surya-5555 wants to merge 1 commit into
ServiceNow:mainfrom
Surya-5555:fix/security-task-hardening

Conversation

@Surya-5555

Copy link
Copy Markdown
Collaborator

Summary

Hardens .gitignore against zero-click IDE task auto-execution exploits and hidden binary/script droppers.

Motivation & Threat Model

Recent supply-chain campaigns targeting open-source development environments (such as the Contagious Interview / PolinRider threat activity) abuse IDE auto-run triggers-specifically .vscode/tasks.json configured with "runOn": "folderOpen"-combined with obfuscated scripts disguised as web font files or binary assets in public/fonts/.

When contributors or maintainers clone or pull branches containing such files, local IDE task runners can automatically execute background daemons without explicit user action.

While .vscode/** was previously ignored, explicit rules were missing for:

  1. .vscode/tasks.json (the primary automated execution vector).
  2. Hidden font directories (public/fonts/) used to smuggle steganographic payloads.
  3. Common lateral movement batch droppers ( emp_auto_push.bat, �ranch_structure.json, dist/setup.js).

What Changed

File Change
.gitignore Explicitly added security rules blocking .vscode/tasks.json, public/fonts/, dist/setup.js, and transient auto-push scripts.

Impact

  • Zero Breaking Changes: Does not impact core library, benchmarks, or test suites.
  • Repository-wide Protection: Prevents accidental tracking or lateral pushing of automated task configs and disguised font droppers across all contributor branches.

Testing

  • Verified git status ignores .vscode/tasks.json and public/fonts/ as expected.
  • Clean tree verified on upstream main.

@Surya-5555
Surya-5555 requested a balanced review from Copilot November 15, 2026 10:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants